import { RequestOptions, Requestor } from "./request-core";
import axios from "axios";

const ins = axios.create();

export const requestor: Requestor = {
  get(url: string, options: RequestOptions) {
    // 使用axios实现
    return axios.get(url, options);
  },
  // 其他请求方法
};
